﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200015D RID: 349
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class BuyBpLevelCsReq : IMessage<BuyBpLevelCsReq>, IMessage, IEquatable<BuyBpLevelCsReq>, IDeepCloneable<BuyBpLevelCsReq>, IBufferMessage
	{
		// Token: 0x170004AC RID: 1196
		// (get) Token: 0x06000FC7 RID: 4039 RVA: 0x0002E988 File Offset: 0x0002CB88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<BuyBpLevelCsReq> Parser
		{
			get
			{
				return BuyBpLevelCsReq._parser;
			}
		}

		// Token: 0x170004AD RID: 1197
		// (get) Token: 0x06000FC8 RID: 4040 RVA: 0x0002E98F File Offset: 0x0002CB8F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return BuyBpLevelCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170004AE RID: 1198
		// (get) Token: 0x06000FC9 RID: 4041 RVA: 0x0002E9A1 File Offset: 0x0002CBA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return BuyBpLevelCsReq.Descriptor;
			}
		}

		// Token: 0x06000FCA RID: 4042 RVA: 0x0002E9A8 File Offset: 0x0002CBA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BuyBpLevelCsReq()
		{
		}

		// Token: 0x06000FCB RID: 4043 RVA: 0x0002E9B0 File Offset: 0x0002CBB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BuyBpLevelCsReq(BuyBpLevelCsReq other) : this()
		{
			this.lEDNOLCCPAO_ = other.lEDNOLCCPAO_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000FCC RID: 4044 RVA: 0x0002E9D5 File Offset: 0x0002CBD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BuyBpLevelCsReq Clone()
		{
			return new BuyBpLevelCsReq(this);
		}

		// Token: 0x170004AF RID: 1199
		// (get) Token: 0x06000FCD RID: 4045 RVA: 0x0002E9DD File Offset: 0x0002CBDD
		// (set) Token: 0x06000FCE RID: 4046 RVA: 0x0002E9E5 File Offset: 0x0002CBE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LEDNOLCCPAO
		{
			get
			{
				return this.lEDNOLCCPAO_;
			}
			set
			{
				this.lEDNOLCCPAO_ = value;
			}
		}

		// Token: 0x06000FCF RID: 4047 RVA: 0x0002E9EE File Offset: 0x0002CBEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as BuyBpLevelCsReq);
		}

		// Token: 0x06000FD0 RID: 4048 RVA: 0x0002E9FC File Offset: 0x0002CBFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(BuyBpLevelCsReq other)
		{
			return other != null && (other == this || (this.LEDNOLCCPAO == other.LEDNOLCCPAO && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000FD1 RID: 4049 RVA: 0x0002EA2C File Offset: 0x0002CC2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.LEDNOLCCPAO != 0U)
			{
				num ^= this.LEDNOLCCPAO.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000FD2 RID: 4050 RVA: 0x0002EA6B File Offset: 0x0002CC6B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000FD3 RID: 4051 RVA: 0x0002EA73 File Offset: 0x0002CC73
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000FD4 RID: 4052 RVA: 0x0002EA7C File Offset: 0x0002CC7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LEDNOLCCPAO != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.LEDNOLCCPAO);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000FD5 RID: 4053 RVA: 0x0002EAB0 File Offset: 0x0002CCB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.LEDNOLCCPAO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LEDNOLCCPAO);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000FD6 RID: 4054 RVA: 0x0002EAEE File Offset: 0x0002CCEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(BuyBpLevelCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.LEDNOLCCPAO != 0U)
			{
				this.LEDNOLCCPAO = other.LEDNOLCCPAO;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000FD7 RID: 4055 RVA: 0x0002EB1F File Offset: 0x0002CD1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000FD8 RID: 4056 RVA: 0x0002EB28 File Offset: 0x0002CD28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.LEDNOLCCPAO = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040006BA RID: 1722
		private static readonly MessageParser<BuyBpLevelCsReq> _parser = new MessageParser<BuyBpLevelCsReq>(() => new BuyBpLevelCsReq());

		// Token: 0x040006BB RID: 1723
		private UnknownFieldSet _unknownFields;

		// Token: 0x040006BC RID: 1724
		public const int LEDNOLCCPAOFieldNumber = 2;

		// Token: 0x040006BD RID: 1725
		private uint lEDNOLCCPAO_;
	}
}
